{% extends 'Base/main.content.submit.div.auto.html.twig' %}

        {% form_theme show 'Base/row.layout.html.twig' %}
{% block main %}
    {#{{ dump(show) }}#}
    {{ form_widget(show) }}
{% endblock %}
{% block myJs %}
    {% include 'Base/inc.js.article.upload.twig' %}
    {% include 'Base/inc.js.article.twig' %}
    {#{% include 'Base/inc.js.form.valid.twig' %}#}
    {#{% include 'Base/inc.js.date.picker.twig' %}#}

    <script>
        // layui.use('form', function(){
        //     var form = layui.form;
        //     //监听提交
        //     form.on('submit(formDemo)', function(data){
        //         layer.msg(JSON.stringify(data.field));
        //         return false;
        //     });
        // });

        layui.use('laydate', function(){
            var laydate = layui.laydate;
            lay('.layui-my-date').each(function(){laydate.render({elem: this});});
            lay('.layui-my-date-time').each(function(){laydate.render({elem: this});});
            lay('.layui-my-time').each(function(){laydate.render({elem: this});});
        });
    </script>
{% endblock %}


{% block myCss %}
    <style>
        .layui-form-label{
            width: 150px;
        }
        .layui-input-block{
            margin-left: 180px;
            margin-right: 100px;
        }
    </style>
{% endblock %}